﻿<%@ Page Language="C#" AutoEventWireup="true" MasterPageFile="~/Template/Site.master"
    CodeBehind="ContactUs.aspx.cs" Inherits="DeliverySolution.HOME.PUBLIC.ContactUs" %>

<asp:Content ID="HeaderContent" ContentPlaceHolderID="HeadContent" runat="server">
    <meta name="description" content="Destination Health's purpose is to provide patients with reliable, timely, and efficient transportation to and from their medically related appointments." />
    <meta name="keywords" content="destination health, max destination health, shuttle patients, transport patients, shuttle patients to medical center, transport patients to medical center, patients transportation, health clinics, medical facilities, health care clinics, health care facilities" />
    <meta http-equiv="Content-Language" content="en-CA" />
    <%--  <script src="../../JS/MDH.js" type="text/javascript"></script>--%>
    <script type="text/javascript">
        function WatermarkFocus(txtElem, strWatermark) { if (txtElem.value == strWatermark) txtElem.value = ''; }
        function WatermarkBlur(txtElem, strWatermark) { if (trim(txtElem.value) == '') txtElem.value = strWatermark; }
        function trim(str, chars) { return ltrim(rtrim(str, chars), chars); }
        function ltrim(str, chars) {
            chars = chars || "\\s";
            return str.replace(new RegExp("^[" + chars + "]+", "g"), "");
        }
        function rtrim(str, chars) {
            chars = chars || "\\s";
            return str.replace(new RegExp("[" + chars + "]+$", "g"), "");
        }

        function initialize() {
            if (GBrowserIsCompatible()) {
                var map = new GMap2(document.getElementById("map_canvas"));
                var geocoder = new GClientGeocoder();
                var address = "6021 Yonge St, Toronto, ON";

                geocoder.getLatLng(address, 
                    function (point) {
                        if (!point) {
                            alert(address + " not found");
                        }
                        else {
                            map.setCenter(point, 14);
                            map.setUIToDefault();
                            var marker = new GMarker(point);
                            map.addOverlay(marker);
                            marker.openInfoWindowHtml(address);
                        }
                    }
                );
            }
        }

        function rollSubmit(img_src) {
            var btnSubmit = document.getElementById('<%=btnSubmit.ClientID %>');
            if (btnSubmit)
                btnSubmit.src = img_src;
        }

        function rollReset(img_src) {
            var btnReset = document.getElementById('<%=btnReset.ClientID %>');
            if (btnReset)
                btnReset.src = img_src;
        }
    </script>
</asp:Content>
<asp:Content ID="BodyContent" ContentPlaceHolderID="MainContent" runat="Server">
    <table>
        <tr>
            <td style="width: 15%;">
            </td>
            <td style="width: 30%;">
                <center>
                    <asp:Label ID="lblAddress" CssClass="title" runat="server" Text="Address"></asp:Label><br />
                </center>
            </td>
            <td style="width: 10%;">
            </td>
            <td style="width: 30%;">
                <center>
                    <asp:Label ID="lblFeedBack" runat="server" CssClass="title" Text="Contact Form"></asp:Label><br />
                </center>
            </td>
            <td style="width: 15%;">
            </td>
        </tr>
        <tr valign="top">
            <td></td>
            <td>
                <br />
                <br />
                <br />
                <div class="imgFrame">
                    <img width="198px" height="126px" src="../../Img/Body/Contact Us/building.jpg" />
                </div>
                <br />
                <br />
                <img src="../../Img/Body/Contact%20Us/home.jpg" />&nbsp;&nbsp;&nbsp;&nbsp;Fleet
                Logistics Inc<br />
                1024 43rd Street Brooklyn, NY 11219, USA<br />
                <div style="margin-top: 10px;">
                    <img src="../../Img/Body/Contact%20Us/tel.jpg" />&nbsp;&nbsp;&nbsp;&nbsp;347.346.4102
                    <br />
                    <br />
                </div>
                <br />
                <div style="margin-top: 10px;">
                    <img src="../../Img/Body/Contact%20Us/tel.jpg" />&nbsp;&nbsp;&nbsp;&nbsp;347.745.6961
                    <br />
                </div>
                <br />
                <br />
                <div style="margin-top: 10px;">
                    <img src="../../Img/Body/Contact%20Us/fax.jpg" />&nbsp;&nbsp;&nbsp;&nbsp;347.346.4105
                    <br />
                </div>
                <br />
                <br />
                <div style="margin-top: 10px;">
                    <img src="../../Img/Body/Contact%20Us/email.jpg" />&nbsp;&nbsp;&nbsp;&nbsp;<a href="mailto:fleettrking@aol.com"
                        class="linkGeneral">fleettrking@aol.com</a><br />
                    <br />
                </div>
            </td>
            <td>
            </td>
            <td>
                <br />
                <div style="text-align: center;">
                    <br />
                    <asp:Label ID="lblSuccess" ForeColor="Red" runat="server" EnableViewState="false"
                        Visible="false" AutoUpdateAfterCallBack="true" />
                    <br />
                    <div>
                        <div>
                            <div>
                                <div class="txtBoxFrame">
                                    <br />
                                    <asp:TextBox ID="txtFirstName" MaxLength="40" CssClass="txtBox" runat="server" ToolTip="First Name *"></asp:TextBox>
                                </div>
                                <asp:RequiredFieldValidator ID="rfvFirstName" InitialValue="First Name *" ControlToValidate="txtFirstName"
                                    runat="server" ErrorMessage="*"></asp:RequiredFieldValidator>
                                <div class="txtBoxFrame">
                                    <br />
                                    <asp:TextBox ID="txtLastName" MaxLength="40" CssClass="txtBox" runat="server" ToolTip="Last Name *"></asp:TextBox>
                                </div>
                                <asp:RequiredFieldValidator ID="rfvLastName" InitialValue="Last Name *" ControlToValidate="txtLastName"
                                    runat="server" ErrorMessage="*"></asp:RequiredFieldValidator>
                            </div>
                            <div>
                                <div class="txtBoxFrame">
                                    <br />
                                    <asp:TextBox ID="txtEmail" CssClass="txtBox" runat="server" ToolTip="Email *"></asp:TextBox>
                                </div>
                                <div style="vertical-align: text-top;">
                                    <asp:RequiredFieldValidator ID="rfvEmail" InitialValue="Email *" ControlToValidate="txtEmail"
                                        runat="server" ErrorMessage="*"></asp:RequiredFieldValidator>
                                    <asp:RegularExpressionValidator ID="revEmail" ControlToValidate="txtEmail" runat="server"
                                        ErrorMessage="*" ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"></asp:RegularExpressionValidator>
                                </div>
                            </div>
                            <div>
                                <div class="txtBoxFrame">
                                    <br />
                                    <asp:TextBox ID="txtCompany" CssClass="txtBox" runat="server" ToolTip="Company"></asp:TextBox>
                                </div>
                                <br />
                                <div class="txtBoxFrame">
                                    <br />
                                    <asp:TextBox ID="txtTelephone" CssClass="txtBox" runat="server" ToolTip="Telephone"></asp:TextBox>
                                </div>
                                <br />
                                <div class="txtBoxFrame">
                                    <br />
                                    <asp:TextBox ID="txtAddress" CssClass="txtBox" runat="server" ToolTip="Address"></asp:TextBox>
                                </div>
                                <br />
                                <div class="txtBoxFrame">
                                    <br />
                                    <asp:TextBox ID="txtFax" CssClass="txtBox" runat="server" ToolTip="Fax"></asp:TextBox>
                                </div>
                                <br />
                            </div>
                            <div class="txtBoxBigFrame">
                                <br />
                                <asp:TextBox ID="txtComments" TextMode="MultiLine" CssClass="txtBoxBig" Wrap="true"
                                    runat="server" ToolTip="Comments"></asp:TextBox>
                            </div>
                            <asp:RequiredFieldValidator ID="rfvComments" InitialValue="Comments *" ControlToValidate="txtComments"
                                runat="server" ErrorMessage="*"></asp:RequiredFieldValidator>
                            <br />
                            <br />
                        </div>
                        <div>
                            <center>
                                <table>
                                    <tr>
                                        <td>
                                            <asp:Image ID="imgVerify" ImageUrl="VerifyImage.aspx" runat="server" />
                                        </td>
                                        <td>
                                            =
                                        </td>
                                        <td>
                                            <asp:TextBox ID="txtBoxNotSpamNumber" MaxLength="100" runat="server" Width="35px"
                                                AutoUpdateAfterCallBack="true"></asp:TextBox>
                                            <asp:RequiredFieldValidator ID="RequiredFieldValidatorNotSpamNumber" runat="server"
                                                ForeColor="Red" ErrorMessage="*" ControlToValidate="txtBoxNotSpamNumber"></asp:RequiredFieldValidator>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td colspan="3">
                                            <asp:ImageButton ID="btnReset" CausesValidation="false" OnClick="clearButton_Clicked"
                                                ImageUrl="../../Img/Body/Buttons/buttonReset.gif" runat="server" onmouseover="rollReset('../../Img/Body/Buttons/buttonResetClicked.gif')"
                                                onmouseout="rollReset('../../Img/Body/Buttons/buttonReset.gif')" />
                                            <asp:ImageButton ID="btnSubmit" OnClick="submitButton_Clicked" ImageUrl="../../Img/Body/Buttons/buttonSubmit.gif"
                                                runat="server" onmouseover="rollSubmit('../../Img/Body/Buttons/buttonSubmitClicked.gif')"
                                                onmouseout="rollSubmit('../../Img/Body/Buttons/buttonSubmit.gif')" />
                                        </td>
                                    </tr>
                                </table>
                                <br />
                            </center>
                        </div>
                    </div>
                </div>
            </td>
            <td>
            </td>
        </tr>
    </table>
</asp:Content>
